package com.baby.mall.product.service;

import com.baby.mall.product.entity.SpuInfoDescEntity;
import com.baby.mall.product.entity.vo.SpuSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baby.common.utils.PageUtils;
import com.baby.mall.product.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author qinglongzhai
 * @email qinglongzhai@gmail.com
 * @date 2021-03-15 10:47:08
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     *保存商品数据，
     * @Author QLZ
     * @Date 2021/3/17
     *  @param vo:
     *  @return: void
     */

    void saveSpuInfo(SpuSaveVo vo);

    /**
     *保存spu基本信息
     * @Author QLZ
     * @Date 2021/3/17
     *  @param spuInfoEntity:
     *  @return: void
     */

    void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);

    /**
     *分页带条件查询spu
     * @Author QLZ
     * @Date 2021/3/18
     *  @param params:
     *  @return: com.baby.common.utils.PageUtils
     */
    PageUtils queryPageByCondition(Map<String, Object> params);
}

